<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!--[if lt IE 9]>
    <script type="text/javascript" src="../../../../lib/html5shiv.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../../lib/respond.min.js?rev=@@hash"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../../../static/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="../../../../static/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="../../../../lib/Hui-iconfont/1.0.8/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="../../../../static/h-ui.admin/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="../../../../static/h-ui.admin/css/style.css" />
    <link rel="stylesheet" type="text/css" href="../../../../ht-css/Project.css" />
    <!--[if IE 6]>
    <script type="text/javascript" src="../../../../lib/DD_belatedPNG_0.0.8a-min.js?rev=@@hash"></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <title>账号管理</title>
</head>
<body>
<nav class="breadcrumb">
    <i class="Hui-iconfont">&#xe67f;</i> 首页
    <span class="c-gray en">&gt;</span>会员管理
    <span class="c-gray en">&gt;</span>地推登记表
    <span class="c-gray en">&gt;</span>客户信息登记表编辑
    <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px"
       href="javascript:location.replace(location.href);" title="刷新" >
    <i class="Hui-iconfont">&#xe68f;</i></a></nav>
<article class="page-co222ntainer" style="width:96%">
    <div class="row cl pt-10" style="margin-left:42%">
        <label class="form-label col-sm-5" >
            <h3>客户信息登记表</h3>
        </label>
    </div>
    <form class="form form-horizontal "
          id="form-member"
          novalidate style="" enctype="multipart/form-data">

        <div class="row cl">
            <label class="form-label col-sm-5">客户类型：</label>
            <div class="formControls col-sm-6">

                <select name="type" id="type" style="width: 150px;display: inline-block" >
                    <option value="0" selected>请选择客户类型</option>
                    <option value="10">工程</option>
                    <option value="20">工矿</option>
                    <option value="30">商店</option>
                    <option value="40">其他</option>
                </select>
                <input type="hidden"
                       class="input-text radius w-280"
                       value="" placeholder="请输入客户类型"
                       id="memberId"
                       name="memberId" required>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-sm-5">客户名称：</label>
            <div class="formControls col-sm-6">
                <input type="text"
                       class="input-text radius w-280"
                       value="" placeholder="请输入客户名称"
                       id="name"
                       name="name"
                       required>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-sm-5">联系人：</label>
            <div class="formControls col-sm-5">
                <input type="text"
                       class="input-text radius w-280"
                       value="" placeholder="请输入联系人"
                       id="linkName"
                       name="linkName"
                       required>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-sm-5">职位：</label>
            <div class="formControls col-sm-6">
                <input type="text"
                       class="input-text radius w-280"
                       value="" placeholder="请输入职位"
                       id="position"
                       name="position"
                       required>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-sm-5">手机号：</label>
            <div class="formControls col-sm-6">
                <input type="text"
                       class="input-text radius w-280"
                       value="" placeholder="请输入手机号"
                       id="mobile"
                       name="mobile"
                       required>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-sm-5">座 机：</label>
            <div class="formControls col-sm-6">
                <input type="text"
                       class="input-text radius w-280"
                       value="" placeholder="请输入座 机"
                       id="officePhone"
                       name="officePhone"
                       required>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-sm-5">公司地址（注册）：</label>
            <div class="formControls col-sm-6">
                <input type="text"
                       class="input-text radius w-280"
                       value="" placeholder="请输入公司地址（注册）"
                       id="companyRegAddress"
                       name="companyRegAddress"
                       required>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-sm-5">公司地址（办公）：</label>
            <div class="formControls col-sm-6">
                <input type="text"
                       class="input-text radius w-280"
                       value="" placeholder="请输入公司地址（办公）"
                       id="companyOfficeAddress"
                       name="companyOfficeAddress"
                       required>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-sm-5">店面面积（商店客户填写）：</label>
            <div class="formControls col-sm-6">
                <input type="text"
                       class="input-text radius w-280"
                       value="" placeholder="请输入店面面积（商店客户填写）"
                       id="storeArea"
                       name="storeArea"
                       required>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-sm-5">项目名称：</label>
            <div class="formControls col-sm-6">
                <input type="text"
                       class="input-text radius w-280"
                       value="" placeholder="请输入项目名称"
                       id="projectName"
                       name="projectName"
                       required>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-sm-5">项目地址：</label>
            <div class="formControls col-sm-6">
                <input type="text"
                       class="input-text radius w-280"
                       value="" placeholder="请输入项目地址"
                       id="projectAddress"
                       name="projectAddress"
                       required>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-sm-5">合作潜力：</label>
            <div class="formControls col-sm-6">
                <select name="cooperationPotential" id="cooperationPotential" style="width: 150px;display: inline-block" >
                    <option value="0" selected>请选择合作潜力</option>
                    <option value="10">强</option>
                    <option value="20">中</option>
                    <option value="30">弱</option>
                </select>

            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-sm-5">情况描述：</label>
            <div class="formControls col-sm-6">
                <textarea
                        style=" width: 280px; height: 51px;"
                                       class="input-text radius w-100 "
                                       value="" placeholder="请输入情况描述"
                                       id="situationDesc"
                                       name="situationDesc"
                                       required></textarea>

            </div>
        </div>
        <div class="row cl">
            <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-2">
                <button onclick="save_edit();"
                        class="btn btn-primary radius col-offset-4"
                        type="button">&nbsp;&nbsp;保存&nbsp;&nbsp;</button>
                <button onclick="removeIframe();"
                        class="btn radius ml-10"
                        type="button">&nbsp;&nbsp;取消&nbsp;&nbsp;</button>
            </div>
        </div>
    </form>
</article>

<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="../../../../lib/jquery/1.9.1/jquery.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../lib/layer/2.4/layer.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../static/h-ui/js/H-ui.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../static/h-ui.admin/js/H-ui.admin.js?rev=@@hash"></script> <!--/_footer 作为公共模版分离出去-->
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="../../../../lib/My97DatePicker/4.8/WdatePicker.js?rev=@@hash"></script>
<!--表单验证-->
<script type="text/javascript" src="../../../../lib/jquery.validation/1.14.0/jquery.validate.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../lib/jquery.validation/1.14.0/validate-methods.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../lib/jquery.validation/1.14.0/messages_zh.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../lib/datatables/1.10.0/jquery.dataTables.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../lib/laypage/1.2/laypage.js?rev=@@hash"></script>
<script src="../../../../ht-js/public.js?rev=@@hash"></script>
<!--验证token-->
<script src="../../../../ht-js/verifyToken.js?rev=@@hash"></script>
<script src="../../../../ht-js/Project.js?rev=@@hash"></script>

<script src="../../../../ht-js/Customer/custInfoRegisterForm_edit.js?rev=@@hash"></script>

<link type="text/css" rel="stylesheet" href="../../../../ht-js/operation-js/time-js/jedate.css">


<script type="text/javascript" src="../../../../ht-js/operation-js/time-js/jquery.jedate.js?rev=@@hash"></script>

<script>
    var start = {
        format: 'YYYY-MM-DD hh:mm',
        okfun: function(obj){
            end.minDate = obj.val; //开始日选好后，重置结束日的最小日期
            endDates();
        }
    };
    var end = {
        format: 'YYYY-MM-DD hh:mm',
        minDate: $.nowDate({DD:0}), //设定最小日期为当前日期
        okfun: function(obj){
            start.maxDate = obj.val; //将结束日的初始值设定为开始日的最大日期
        }
    };
    //这里是日期联动的关键
    function endDates() {
        //将结束日期的事件改成 false 即可
        end.trigger = false;
        $("#logmax").jeDate(end);
    }
    $('#logmin').jeDate(start);
    $('#logmax').jeDate(end);

    /*角色编辑*/
    function roles_edit(title,url,id,w,h){
        layer_show(title,url,w,h);
    }
    $.validator.addMethod("titleCheck", function(value, element) {
        var tel = /^.{1,40}$/;
        return this.optional(element) || (tel.test(value));
    }, "输入有误");
    $.validator.addMethod("colorCheck", function(value, element) {
        var tel = /^#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$/;
        return this.optional(element) || (tel.test(value));
    }, "请按色值格式输入");
</script>

</body>
</html>